﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using SPCAM.Servers;
using SpCad.Core.Modify;
namespace SPCAM.Plugin.Cam.ViewModel
{
    using Macad.Core;
    using Macad.Core.Shapes;
    using Macad.Core.Topology;
    using Macad.Interaction;
    using Macad.Occt;
    using SpCad.Utils;
    using SPCAM.Plugin.Cam.Enums;
    using SPCAM.Plugin.Cam.Views;
    using static Macad.Interaction.ViewportController; 

    public partial class CamViewModel:Commands
    {

        private bool _selectedge;
        private bool _selectface;

        public bool SelectEdge { get => _selectedge; set => SetProperty(ref _selectedge, value); }
      
        public bool SelectFace { get => _selectface; set => SetProperty(ref _selectface, value); }
      
       
        public CamViewModel(IServer server)
        {
           this.Sv=server;
           
        }
        public override void ClearSelect()
        {
            base.ClearSelect();
            SelectEdge = false;
            SelectFace = false;
        }

    }
}
